<?php

/**
 * @Desc:
 * @author dasheng@baofu.com(大圣)
 * @datetime 2025/4/6 15:09
 */

namespace App\baocaitong3\Entity;

class AccInfoEntity implements \JsonSerializable
{
    public $transSerialNo;//流水号每次请求不重复
    public $loginNo;//登录号商户端用户唯一标识，商户自定义（不重复）
    public $email;
    public $selfEmployed;
    public $customerName;//个人：客户名称与持卡人姓名一致 企业：商户名称（营业执照上的名称）
    public $aliasName;
    public $certificateNo;//个人：身份证号码，企业：营业执照证件号码
    public $certificateType;
    public $corporateName;
    public $corporateCertType;
    public $corporateCertId;
    public $corporateMobile;
    public $contactName;
    public $contactMobile;//法人手机号,当开个体户(selfEmployed=true)且绑定对私卡时必传
    public $cardNo;//个人：对私卡号，企业：对公卡号，（个体可绑法人对私卡号）
    public $bankName;
    public $industryId;//公司所属行业 见附录
    public $depositBankProvince;
    public $depositBankCity;
    public $depositBankName;
    public $registerCapital;//注册资本
    public $cardUserName;//持卡人姓名, 当开个体户且绑定对私卡时需传此字段,否则默认绑定对公卡
    public $platformNo;
    public $platformTerminalId;
    public $qualificationTransSerialNo;//资质文件流水,businessType为宝财通3非必填
    public $mobileNo;//银行预留手机号
    public $needUploadFile;//是否需要上传附件,true/false
    public $contractNo;//客户账户号，提现卡修改必填

    public function jsonSerialize()
    {
        return array_filter((array)$this, function($v) {
            return $v !== null;
        });
        // TODO: Implement jsonSerialize() method.
    }
}